import React from 'react';
import { Route } from 'react-router-dom';

export default function ProtectedRoute({component: Component, children, render, ...rest}) {
    console.log(rest)
    return <Route {...rest} />
}
